home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************
- * Deluxe Editors REXX interface test program v1.2 *
- * Copyright Cath 1992. *
- **********************************************************************/
-
- /* the address is the Portname where the commands are fed */
- address 'DeRexx'
-
- /* Lock Deluxe Editors Menu and Intuition handling (must be done) */
- 'LockDe'
-
- /* Turn Information requestors off */
- 'ReqsOff'
-
- /* Switch the disAssembler window on */
- 'DisAsmOn'
-
- /* GotoBlock - Reads a block into the buffer, format GotoBlock<spc>number */
- 'GotoBlock 880'
-
- /* GotoZero - Reads in the first block of the disk */
- 'GotoZero'
-
- /* Saves the bootblock of the current disk, format SaveBooot<spc>FileName */
- 'SaveBoot RAM:BOOTBLOCK'
-
- /* Switch the disAssembler window off */
- 'DisAsmOff'
-
- /* Copy 'Hello' to offset 0 in buffer*/
- 'EditAscii 0 Hello'
-
- /* And don't forget to UnLock De afterwards ! */
- 'UnLockDe'
-
- /* Tell DE to quit
- 'KillDe'*/
- /* End of REXX demonstration */